﻿<Window x:Class="WinSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:tvdb="clr-namespace:theTVDB;assembly=theTVDB"
        xmlns:tvdbXml="clr-namespace:theTVDB.Xml;assembly=theTVDB"
        xmlns:sys="clr-namespace:System;assembly=mscorlib"
        Title="MainWindow" Height="350" Width="525"
        WindowState="Maximized"
        Loaded="Window_Loaded">

    <Grid>
        <WrapPanel>
            <ListBox x:Name="MirrorsListBox" Margin="5">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Vertical" Margin="0,0,0,10">
                            <TextBlock Text="{Binding Path=ID}"/>
                            <TextBlock Text="{Binding Path=MirrorPath}"/>
                            <!--<TextBlock Text="{Binding Path=SupportedFileTypes}"/>-->
                        </StackPanel>
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>

            <ListBox x:Name="LanguagesListBox" Margin="5">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal" Margin="0,0,0,10">
                            <TextBlock Text="{Binding Path=ID}" Width="30"/>
                            <TextBlock Text="{Binding Path=Name}" Width="80"/>
                            <TextBlock Text="{Binding Path=Abbreviation}" Width="30"/>
                        </StackPanel>
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>
        </WrapPanel>
    </Grid>
</Window>
